{% extends "base.html" %}
{% load bootstrap %}

{% block title %}帐号设置{% endblock %}

{% block content %}
<div class="page-header">
    <h1>帐号设置</h1>
</div>
<div class="row" style="margin-top: 2em">
    <div class="col-md-3">
        {% include 'accounts/includes/partial_settings_menu.html' with active='profile' %}
    </div>
    <div class="col-md-9">
        <form action="{% url 'accounts:setting' profile.user.id %}" method="post">
            {% csrf_token %}
            {{ form|bootstrap }}
            <input type="submit" class="btn btn-default" value="保存修改" />
        </form>
    </div>
</div>
{% endblock %}